package org.example.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
/**
 *车辆管理表
 */
public class CarInfo {
    /**
     *车辆自增编号
     */
    @ExcelProperty(value = "carId")
    private Integer carId;

    /**
     *车辆编码
     */
    @ExcelProperty(value = "carOrderNo")
    private String carOrderNo;
    /**
     *车辆VIN
     */
    @ExcelIgnore
    private String carVin;
    /**
     *车辆名称
     */
    @ExcelIgnore
    private String carName;
    /**
     *车辆类型
     */
    @ExcelIgnore
    private Integer typeId;
    /**
     *电子围栏
     */
    @ExcelIgnore
    private Integer fencingId;
    /**
     *车辆状态
     */
    @ExcelIgnore
    private String status;
    /**
     *电机厂商
     */
    @ExcelIgnore
    private Integer motorId;
    /**
     *电池厂商
     */
    @ExcelIgnore
    private Integer batteryId;
    /**
     *电机编号
     */
    @ExcelIgnore
    private String motorNumber;
    /**
     *电池编号
     */
    @ExcelIgnore
    private String batteryNumber;
    /**
     *日租价格
     */
    @ExcelIgnore
    private String carPrice;
    /**
     *记录人
     */
    @ExcelIgnore
    private String createBy;
    /**
     *记录时间
     */
    @ExcelIgnore
    private Date createTime;
    /**
     *更改人
     */
    @ExcelIgnore
    private String updateBy;
    /**
     *更改时间
     */
    @ExcelIgnore
    private Date updateTime;
    /**
     *备注
     */
    @ExcelIgnore
    private String remark;

    @ExcelIgnore
    private String tname;
    @ExcelIgnore
    private String bname;
    @ExcelIgnore
    private String mname;
    @ExcelIgnore
    private List<CarFile> files;
}
